/*
 * Copyright 2003-2005 (c) Live Media Pty Ltd. <argot@einet.com.au> 
 *
 * This software is licensed under the Argot Public License 
 * which may be found in the file LICENSE distributed 
 * with this software.
 *
 * More information about this license can be found at
 * http://www.einet.com.au/License
 * 
 * The Developer of this software is Live Media Pty Ltd,
 * PO Box 4591, Melbourne 3001, Australia.  The license is subject 
 * to the law of Victoria, Australia, and subject to exclusive 
 * jurisdiction of the Victorian courts.
 */

#ifndef TYPEDEFINITION_H_
#define TYPEDEFINITION_H_

#ifdef __cplusplus
extern "C" {
#endif


struct type_reader
{
	typeReader reader;
	void * data;
};

struct type_writer
{
	typeWriter writer;
	void * data;
};

struct type_definition
{
	type_library * library;
	int state;
	int id;
	type_name * name;
	type_reader reader;
	type_writer writer;
	type_element * structure;
};


#ifdef __cplusplus
}
#endif

#endif
